package com.ccys.db.entity;

import com.ccys.db.rely.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Table;
import java.math.BigDecimal;
import java.util.Date;

/**
* Created by Mybatis Generator on 2023/12/29
*/
@Data
@ApiModel("问诊医生填写内容,id同booking")
@Table(name = "tbl_booking_summary")
@NoArgsConstructor
@AllArgsConstructor
public class TblBookingSummary extends BaseEntity {

    @Column(name = "booking_id")
    private String bookingId;
    /**
     * 医生是否有要求病人上传文件
     */
    @Column(name = "request_upload_file")
    @ApiModelProperty("医生是否有要求病人上传文件")
    private Integer requestUploadFile;

    /**
     * 体重
     */
    @Column(name = "patient_weight")
    @ApiModelProperty("体重")
    private BigDecimal patientWeight;

    /**
     * 身高
     */
    @Column(name = "patient_height")
    @ApiModelProperty("身高")
    private BigDecimal patientHeight;

    /**
     * 温度
     */
    @Column(name = "patient_temp")
    @ApiModelProperty("温度")
    private BigDecimal patientTemp;

    /**
     * 血压
     */
    @Column(name = "patient_bp1")
    @ApiModelProperty("血压")
    private BigDecimal patientBp1;

    /**
     * 血压
     */
    @Column(name = "patient_bp2")
    @ApiModelProperty("血压")
    private BigDecimal patientBp2;

    /**
     * 心率
     */
    @Column(name = "patient_hr")
    @ApiModelProperty("心率")
    private BigDecimal patientHr;

    /**
     * 医生端传回或回去当前病人的信息
     */
    @ApiModelProperty("医生端传回或回去当前病人的信息")
    private Integer g6pd;

    /**
     * 医生端传回或回去当前病人的信息
     */
    @ApiModelProperty("医生端传回或回去当前病人的信息")
    private Integer pregnant;


    /**
     * 医生端设置是否展示memo
     */
    @Column(name = "show_memo")
    @ApiModelProperty("医生端设置是否展示memo")
    private Integer showMemo;

    /**
     * 医生端填写 是否需要referral letter(转介绍信)
     */
    @Column(name = "need_medical_letter")
    @ApiModelProperty("医生端填写 是否需要referral letter(转介绍信)")
    private Integer needMedicalLetter;

    /**
     * 医生端填写是否需要MC 病假条 0-否，1-是
     */
    @Column(name = "need_medical_certification")
    @ApiModelProperty("医生端填写是否需要MC 病假条")
    private Integer needMedicalCertification;

    /**
     * MC加上code拼接字符串
     */
    @Column(name = "medical_certification_code")
    @ApiModelProperty("MC加上code拼接字符串")
    private String medicalCertificationCode;


    @Column(name = "medical_certification_days")
    @ApiModelProperty("请假天数")
    private Integer medicalCertificationDays;

    /**
     * 医生端填写病假开始时间
     */
    @Column(name = "medical_certification_begin_date")
    @ApiModelProperty("医生端填写病假开始时间")
    private Date medicalCertificationBeginDate;

    /**
     * 病假结束时间
     */
    @Column(name = "medical_certification_end_date")
    @ApiModelProperty("病假结束时间")
    private Date medicalCertificationEndDate;

    /**
     * 医生在MEMO或者RL/MC之后点击完成
     */
    @Column(name = "doctor_is_completed")
    @ApiModelProperty("医生在MEMO或者RL/MC之后点击完成")
    private Integer doctorIsCompleted;

    /**
     * 医生端填写的complaint
     */
    @Column(name = "presenting_complaint")
    @ApiModelProperty("医生端填写的complaint")
    private String presentingComplaint;

    /**
     * 医生端填写的management
     */
    @ApiModelProperty("医生端填写的management")
    private String management;

    /**
     * 医生填写的summary
     */
    @ApiModelProperty("医生填写的summary")
    private String summary;

    /**
     * 医生填写的instructions
     */
    @Column(name = "instructions_to_patient")
    @ApiModelProperty("医生填写的instructions")
    private String instructionsToPatient;

    /**
     * 医生端填写memo
     */
    @ApiModelProperty("医生端填写memo")
    private String memo;


    /**
     * 医生端MC中添加的additional note
     */
    @Column(name = "additional_note")
    @ApiModelProperty("医生端MC中添加的additional note")
    private String additionalNote;

    /**
     * 医生端输入的内容，检查源码也没发现医生端哪里可以输入
     */
    @Column(name = "basic_cdmp_information")
    @ApiModelProperty("医生端输入的内容，检查源码也没发现医生端哪里可以输入")
    private String basicCdmpInformation;


    @ApiModelProperty("Todo 字面意思是当前的诊断允许使用配套claim金额，待确认")
    @Column(name = "diagnosis_allow_patient_to_claim")
    private Integer diagnosisAllowPatientToClaim;


    @ApiModelProperty("非新加坡的问诊，医生会多一个输入框写这个remark")
    @Column(name = "country_remark")
    private String countryRemark;
}